[INFO] fetching crate git-ref 0.24.1...
[INFO] checking git-ref-0.24.1 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate git-ref 0.24.1 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate git-ref 0.24.1 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate git-ref 0.24.1
[INFO] finished tweaking crates.io crate git-ref 0.24.1
[INFO] tweaked toml for crates.io crate git-ref 0.24.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded git-date v0.4.3
[INFO] [stderr]   Downloaded git-actor v0.17.2
[INFO] [stderr]   Downloaded git-validate v0.7.3
[INFO] [stderr]   Downloaded git-lock v3.0.3
[INFO] [stderr]   Downloaded git-path v0.7.2
[INFO] [stderr]   Downloaded git-object v0.26.2
[INFO] [stderr]   Downloaded document-features v0.2.8
[INFO] [stderr]   Downloaded git-hash v0.10.3
[INFO] [stderr]   Downloaded git-features v0.26.5
[INFO] [stderr]   Downloaded litrs v0.4.1
[INFO] [stderr]   Downloaded git-tempfile v3.0.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb68b1fd54acce26647e200472bd4a0a5367ed6b243908b0178cbda24d7cfdd2
[INFO] running `Command { std: "docker" "start" "-a" "fb68b1fd54acce26647e200472bd4a0a5367ed6b243908b0178cbda24d7cfdd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb68b1fd54acce26647e200472bd4a0a5367ed6b243908b0178cbda24d7cfdd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb68b1fd54acce26647e200472bd4a0a5367ed6b243908b0178cbda24d7cfdd2", kill_on_drop: false }`
[INFO] [stdout] fb68b1fd54acce26647e200472bd4a0a5367ed6b243908b0178cbda24d7cfdd2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d77bf5f6b6bdc7cd2a2d0243dbcd88184ef76f8d422b538c6a6792aea55b732
[INFO] running `Command { std: "docker" "start" "-a" "5d77bf5f6b6bdc7cd2a2d0243dbcd88184ef76f8d422b538c6a6792aea55b732", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking time v0.3.34
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking git-hash v0.10.3
[INFO] [stderr]     Checking sha1_smol v1.0.0
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]     Checking git-features v0.26.5
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking bstr v1.9.1
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking git-validate v0.7.3
[INFO] [stderr]     Checking git-path v0.7.2
[INFO] [stderr]     Checking git-date v0.4.3
[INFO] [stderr]     Checking btoi v0.4.3
[INFO] [stderr]     Checking git-actor v0.17.2
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]     Checking git-object v0.26.2
[INFO] [stderr]     Checking git-tempfile v3.0.3
[INFO] [stderr]     Checking git-lock v3.0.3
[INFO] [stderr]     Checking git-ref v0.24.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `git_testtools`
[INFO] [stdout]    --> src/store/file/log/line.rs:187:17
[INFO] [stdout]     |
[INFO] [stdout] 187 |             use git_testtools::to_bstr_err;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared crate or module `git_testtools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `git_testtools`
[INFO] [stdout]   --> src/store/packed/decode/tests.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     use git_testtools::to_bstr_err;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ use of undeclared crate or module `git_testtools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied
[INFO] [stdout]   --> src/store/packed/find.rs:95:52
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 .map(|(_rest, r)| r.name.as_bstr().as_ref())
[INFO] [stdout]    |                                                    ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `AsRef<T>`:
[INFO] [stdout]              <BStr as AsRef<BStr>>
[INFO] [stdout]              <BStr as AsRef<[u8]>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied
[INFO] [stdout]   --> src/store/packed/find.rs:91:43
[INFO] [stdout]    |
[INFO] [stdout] 91 |         a.binary_search_by_key(&full_name.as_ref(), |b: &u8| {
[INFO] [stdout]    |                                           ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `AsRef<T>`:
[INFO] [stdout]              <BStr as AsRef<BStr>>
[INFO] [stdout]              <BStr as AsRef<[u8]>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied
[INFO] [stdout]   --> src/store/packed/find.rs:95:52
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 .map(|(_rest, r)| r.name.as_bstr().as_ref())
[INFO] [stdout]    |                                                    ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `AsRef<T>`:
[INFO] [stdout]              <BStr as AsRef<BStr>>
[INFO] [stdout]              <BStr as AsRef<[u8]>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied
[INFO] [stdout]   --> src/store/packed/find.rs:91:43
[INFO] [stdout]    |
[INFO] [stdout] 91 |         a.binary_search_by_key(&full_name.as_ref(), |b: &u8| {
[INFO] [stdout]    |                                           ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `AsRef<T>`:
[INFO] [stdout]              <BStr as AsRef<BStr>>
[INFO] [stdout]              <BStr as AsRef<[u8]>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:109:43
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ -------------------------- type must be known at this point
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: SlicePattern`
[INFO] [stdout]     = help: the following types implement trait `SlicePattern`:
[INFO] [stdout]               [T; N]
[INFO] [stdout]               [T]
[INFO] [stdout] note: required by a bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stdout]    --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/slice/mod.rs:2595:5
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix::<P>(category.prefix().as_ref()) {
[INFO] [stdout]     |                                                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:109:43
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^                   ------ type must be known at this point
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix::<P>(category.prefix().as_ref()) {
[INFO] [stdout]     |                                                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:132:46
[INFO] [stdout]     |
[INFO] [stdout] 132 |         } else if let Some(shortened) = name.strip_prefix(Category::MainPseudoRef.prefix().as_ref()) {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^                                  ------ type must be known at this point
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 132 |         } else if let Some(shortened) = name.strip_prefix::<P>(Category::MainPseudoRef.prefix().as_ref()) {
[INFO] [stdout]     |                                                          +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:139:18
[INFO] [stdout]     |
[INFO] [stdout] 139 |             name.strip_prefix(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref())
[INFO] [stdout]     |                  ^^^^^^^^^^^^                                                        ------ type must be known at this point
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 139 |             name.strip_prefix::<P>(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref())
[INFO] [stdout]     |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:109:43
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ -------------------------- type must be known at this point
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: SlicePattern`
[INFO] [stdout]     = help: the following types implement trait `SlicePattern`:
[INFO] [stdout]               [T; N]
[INFO] [stdout]               [T]
[INFO] [stdout] note: required by a bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stdout]    --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/slice/mod.rs:2595:5
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix::<P>(category.prefix().as_ref()) {
[INFO] [stdout]     |                                                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:109:43
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^                   ------ type must be known at this point
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix::<P>(category.prefix().as_ref()) {
[INFO] [stdout]     |                                                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:132:46
[INFO] [stdout]     |
[INFO] [stdout] 132 |         } else if let Some(shortened) = name.strip_prefix(Category::MainPseudoRef.prefix().as_ref()) {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^                                  ------ type must be known at this point
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 132 |         } else if let Some(shortened) = name.strip_prefix::<P>(Category::MainPseudoRef.prefix().as_ref()) {
[INFO] [stdout]     |                                                          +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:139:18
[INFO] [stdout]     |
[INFO] [stdout] 139 |             name.strip_prefix(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref())
[INFO] [stdout]     |                  ^^^^^^^^^^^^                                                        ------ type must be known at this point
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 139 |             name.strip_prefix::<P>(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref())
[INFO] [stdout]     |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/raw.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                  ^^^^^^^^^^^^ ------------------------------ type must be known at this point
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: SlicePattern`
[INFO] [stdout]    = help: the following types implement trait `SlicePattern`:
[INFO] [stdout]              [T; N]
[INFO] [stdout]              [T]
[INFO] [stdout] note: required by a bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stdout]   --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/slice/mod.rs:2595:5
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix::<P>(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/raw.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                  ^^^^^^^^^^^^                       ------ type must be known at this point
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]            - impl AsRef<BStr> for BStr;
[INFO] [stdout]            - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix::<P>(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/raw.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                  ^^^^^^^^^^^^ ------------------------------ type must be known at this point
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: SlicePattern`
[INFO] [stdout]    = help: the following types implement trait `SlicePattern`:
[INFO] [stdout]              [T; N]
[INFO] [stdout]              [T]
[INFO] [stdout] note: required by a bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stdout]   --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/slice/mod.rs:2595:5
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix::<P>(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/raw.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                  ^^^^^^^^^^^^                       ------ type must be known at this point
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]            - impl AsRef<BStr> for BStr;
[INFO] [stdout]            - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix::<P>(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `git_object::bstr::ByteSlice`
[INFO] [stdout]   --> src/store/packed/decode/tests.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     use git_object::bstr::ByteSlice;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0283.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git-ref` (lib) due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git-ref` (lib test) due to 11 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "5d77bf5f6b6bdc7cd2a2d0243dbcd88184ef76f8d422b538c6a6792aea55b732", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d77bf5f6b6bdc7cd2a2d0243dbcd88184ef76f8d422b538c6a6792aea55b732", kill_on_drop: false }`
[INFO] [stdout] 5d77bf5f6b6bdc7cd2a2d0243dbcd88184ef76f8d422b538c6a6792aea55b732
[INFO] checking git-ref-0.24.1 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate git-ref 0.24.1 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate git-ref 0.24.1 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate git-ref 0.24.1
[INFO] finished tweaking crates.io crate git-ref 0.24.1
[INFO] tweaked toml for crates.io crate git-ref 0.24.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 23deeff8af1990da3719ebaf3c740e2c0e8d4cf375d2fb59e891af2067933279
[INFO] running `Command { std: "docker" "start" "-a" "23deeff8af1990da3719ebaf3c740e2c0e8d4cf375d2fb59e891af2067933279", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "23deeff8af1990da3719ebaf3c740e2c0e8d4cf375d2fb59e891af2067933279", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23deeff8af1990da3719ebaf3c740e2c0e8d4cf375d2fb59e891af2067933279", kill_on_drop: false }`
[INFO] [stdout] 23deeff8af1990da3719ebaf3c740e2c0e8d4cf375d2fb59e891af2067933279
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0059f39838ed5ef2ffd466f0890a466c8a45c6b4c9cf0193f2aa5806bc58d92d
[INFO] running `Command { std: "docker" "start" "-a" "0059f39838ed5ef2ffd466f0890a466c8a45c6b4c9cf0193f2aa5806bc58d92d", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking time v0.3.34
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking git-hash v0.10.3
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking sha1_smol v1.0.0
[INFO] [stderr]     Checking bstr v1.9.1
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]     Checking git-features v0.26.5
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking git-validate v0.7.3
[INFO] [stderr]     Checking git-path v0.7.2
[INFO] [stderr]     Checking git-date v0.4.3
[INFO] [stderr]     Checking btoi v0.4.3
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]     Checking git-tempfile v3.0.3
[INFO] [stderr]     Checking git-lock v3.0.3
[INFO] [stderr]     Checking git-actor v0.17.2
[INFO] [stderr]     Checking git-object v0.26.2
[INFO] [stderr]     Checking git-ref v0.24.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `git_testtools`
[INFO] [stdout]    --> src/store/file/log/line.rs:187:17
[INFO] [stdout]     |
[INFO] [stdout] 187 |             use git_testtools::to_bstr_err;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared crate or module `git_testtools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `git_testtools`
[INFO] [stdout]   --> src/store/packed/decode/tests.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     use git_testtools::to_bstr_err;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ use of undeclared crate or module `git_testtools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/store/file/log/iter.rs:195:41
[INFO] [stdout]     |
[INFO] [stdout] 195 |                     let buf = &self.buf[start + 1..end];
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/store/file/log/iter.rs:227:46
[INFO] [stdout]     |
[INFO] [stdout] 227 |                         self.buf.copy_within(0..end, n);
[INFO] [stdout]     |                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/store/file/transaction/prepare.rs:339:20
[INFO] [stdout]     |
[INFO] [stdout] 339 |         for cid in 0..updates.len() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/store/packed/iter.rs:20:54
[INFO] [stdout]    |
[INFO] [stdout] 20 |         packed::Iter::new_with_prefix(&self.as_ref()[first_record_with_prefix..], Some(prefix))
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]  --> src/store/packed/buffer.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 |         &self.data.as_ref()[self.offset..]
[INFO] [stdout]   |                             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/store/packed/buffer.rs:60:75
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     let mut entries = packed::Iter::new(&backing.as_ref()[offset..])?.collect::<Result<Vec<_>, _>>()?;
[INFO] [stdout]    |                                                                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/store/packed/find.rs:44:64
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 packed::decode::reference::<()>(&self.as_ref()[line_start..])
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/store/packed/find.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let line = &a[search_start_of_record(ofs)..];
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/fullname.rs:144:50
[INFO] [stdout]     |
[INFO] [stdout] 144 |                     shortened_with_worktree_name[pos + 1..].as_bstr(),
[INFO] [stdout]     |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/fullname.rs:186:32
[INFO] [stdout]     |
[INFO] [stdout] 186 |             self.0.copy_within(namespace.0.len().., 0);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/transaction/ext.rs:65:37
[INFO] [stdout]    |
[INFO] [stdout] 65 |             for (eid, edit) in self[first..].iter_mut().enumerate().map(|(eid, v)| (eid + first, v)) {
[INFO] [stdout]    |                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/store/file/log/iter.rs:195:41
[INFO] [stdout]     |
[INFO] [stdout] 195 |                     let buf = &self.buf[start + 1..end];
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/store/file/log/iter.rs:227:46
[INFO] [stdout]     |
[INFO] [stdout] 227 |                         self.buf.copy_within(0..end, n);
[INFO] [stdout]     |                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/store/file/transaction/prepare.rs:339:20
[INFO] [stdout]     |
[INFO] [stdout] 339 |         for cid in 0..updates.len() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/store/packed/iter.rs:20:54
[INFO] [stdout]    |
[INFO] [stdout] 20 |         packed::Iter::new_with_prefix(&self.as_ref()[first_record_with_prefix..], Some(prefix))
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]  --> src/store/packed/buffer.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 |         &self.data.as_ref()[self.offset..]
[INFO] [stdout]   |                             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/store/packed/buffer.rs:60:75
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     let mut entries = packed::Iter::new(&backing.as_ref()[offset..])?.collect::<Result<Vec<_>, _>>()?;
[INFO] [stdout]    |                                                                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/store/packed/find.rs:44:64
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 packed::decode::reference::<()>(&self.as_ref()[line_start..])
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/store/packed/find.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let line = &a[search_start_of_record(ofs)..];
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/fullname.rs:144:50
[INFO] [stdout]     |
[INFO] [stdout] 144 |                     shortened_with_worktree_name[pos + 1..].as_bstr(),
[INFO] [stdout]     |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/fullname.rs:186:32
[INFO] [stdout]     |
[INFO] [stdout] 186 |             self.0.copy_within(namespace.0.len().., 0);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/transaction/ext.rs:65:37
[INFO] [stdout]    |
[INFO] [stdout] 65 |             for (eid, edit) in self[first..].iter_mut().enumerate().map(|(eid, v)| (eid + first, v)) {
[INFO] [stdout]    |                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied
[INFO] [stdout]   --> src/store/packed/find.rs:95:52
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 .map(|(_rest, r)| r.name.as_bstr().as_ref())
[INFO] [stdout]    |                                                    ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `AsRef<T>`:
[INFO] [stdout]              <BStr as AsRef<BStr>>
[INFO] [stdout]              <BStr as AsRef<[u8]>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied
[INFO] [stdout]   --> src/store/packed/find.rs:91:43
[INFO] [stdout]    |
[INFO] [stdout] 91 |         a.binary_search_by_key(&full_name.as_ref(), |b: &u8| {
[INFO] [stdout]    |                                           ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `AsRef<T>`:
[INFO] [stdout]              <BStr as AsRef<BStr>>
[INFO] [stdout]              <BStr as AsRef<[u8]>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied
[INFO] [stdout]   --> src/store/packed/find.rs:95:52
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 .map(|(_rest, r)| r.name.as_bstr().as_ref())
[INFO] [stdout]    |                                                    ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `AsRef<T>`:
[INFO] [stdout]              <BStr as AsRef<BStr>>
[INFO] [stdout]              <BStr as AsRef<[u8]>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `BStr: AsRef<[_; 0]>` is not satisfied
[INFO] [stdout]   --> src/store/packed/find.rs:91:43
[INFO] [stdout]    |
[INFO] [stdout] 91 |         a.binary_search_by_key(&full_name.as_ref(), |b: &u8| {
[INFO] [stdout]    |                                           ^^^^^^ the trait `AsRef<[_; 0]>` is not implemented for `BStr`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `AsRef<T>`:
[INFO] [stdout]              <BStr as AsRef<BStr>>
[INFO] [stdout]              <BStr as AsRef<[u8]>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:109:43
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ -------------------------- type must be known at this point
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: SlicePattern`
[INFO] [stdout]     = help: the following types implement trait `SlicePattern`:
[INFO] [stdout]               [T; N]
[INFO] [stdout]               [T]
[INFO] [stdout] note: required by a bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stdout]    --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/slice/mod.rs:2595:5
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix::<P>(category.prefix().as_ref()) {
[INFO] [stdout]     |                                                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:109:43
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^                   ------ type must be known at this point
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix::<P>(category.prefix().as_ref()) {
[INFO] [stdout]     |                                                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:132:46
[INFO] [stdout]     |
[INFO] [stdout] 132 |         } else if let Some(shortened) = name.strip_prefix(Category::MainPseudoRef.prefix().as_ref()) {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^                                  ------ type must be known at this point
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 132 |         } else if let Some(shortened) = name.strip_prefix::<P>(Category::MainPseudoRef.prefix().as_ref()) {
[INFO] [stdout]     |                                                          +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:139:18
[INFO] [stdout]     |
[INFO] [stdout] 139 |             name.strip_prefix(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref())
[INFO] [stdout]     |                  ^^^^^^^^^^^^                                                        ------ type must be known at this point
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 139 |             name.strip_prefix::<P>(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref())
[INFO] [stdout]     |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:109:43
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ -------------------------- type must be known at this point
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: SlicePattern`
[INFO] [stdout]     = help: the following types implement trait `SlicePattern`:
[INFO] [stdout]               [T; N]
[INFO] [stdout]               [T]
[INFO] [stdout] note: required by a bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stdout]    --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/slice/mod.rs:2595:5
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix::<P>(category.prefix().as_ref()) {
[INFO] [stdout]     |                                                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:109:43
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix(category.prefix().as_ref()) {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^                   ------ type must be known at this point
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 109 |             if let Some(shortened) = name.strip_prefix::<P>(category.prefix().as_ref()) {
[INFO] [stdout]     |                                                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:132:46
[INFO] [stdout]     |
[INFO] [stdout] 132 |         } else if let Some(shortened) = name.strip_prefix(Category::MainPseudoRef.prefix().as_ref()) {
[INFO] [stdout]     |                                              ^^^^^^^^^^^^                                  ------ type must be known at this point
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 132 |         } else if let Some(shortened) = name.strip_prefix::<P>(Category::MainPseudoRef.prefix().as_ref()) {
[INFO] [stdout]     |                                                          +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/fullname.rs:139:18
[INFO] [stdout]     |
[INFO] [stdout] 139 |             name.strip_prefix(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref())
[INFO] [stdout]     |                  ^^^^^^^^^^^^                                                        ------ type must be known at this point
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]             - impl AsRef<BStr> for BStr;
[INFO] [stdout]             - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 139 |             name.strip_prefix::<P>(Category::LinkedPseudoRef { name: "".into() }.prefix().as_ref())
[INFO] [stdout]     |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/raw.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                  ^^^^^^^^^^^^ ------------------------------ type must be known at this point
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: SlicePattern`
[INFO] [stdout]    = help: the following types implement trait `SlicePattern`:
[INFO] [stdout]              [T; N]
[INFO] [stdout]              [T]
[INFO] [stdout] note: required by a bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stdout]   --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/slice/mod.rs:2595:5
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix::<P>(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/raw.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                  ^^^^^^^^^^^^                       ------ type must be known at this point
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]            - impl AsRef<BStr> for BStr;
[INFO] [stdout]            - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix::<P>(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/raw.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                  ^^^^^^^^^^^^ ------------------------------ type must be known at this point
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: SlicePattern`
[INFO] [stdout]    = help: the following types implement trait `SlicePattern`:
[INFO] [stdout]              [T; N]
[INFO] [stdout]              [T]
[INFO] [stdout] note: required by a bound in `core::slice::<impl [T]>::strip_prefix`
[INFO] [stdout]   --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/slice/mod.rs:2595:5
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix::<P>(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/raw.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                  ^^^^^^^^^^^^                       ------ type must be known at this point
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  cannot infer type of the type parameter `P` declared on the method `strip_prefix`
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `BStr: AsRef<_>` found in the `bstr` crate:
[INFO] [stdout]            - impl AsRef<BStr> for BStr;
[INFO] [stdout]            - impl AsRef<[u8]> for BStr;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 .strip_prefix::<P>(namespace.0.as_bstr().as_ref())
[INFO] [stdout]    |                              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `git_object::bstr::ByteSlice`
[INFO] [stdout]   --> src/store/packed/decode/tests.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     use git_object::bstr::ByteSlice;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0283.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git-ref` (lib) due to 9 previous errors; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 10 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git-ref` (lib test) due to 11 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0059f39838ed5ef2ffd466f0890a466c8a45c6b4c9cf0193f2aa5806bc58d92d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0059f39838ed5ef2ffd466f0890a466c8a45c6b4c9cf0193f2aa5806bc58d92d", kill_on_drop: false }`
[INFO] [stdout] 0059f39838ed5ef2ffd466f0890a466c8a45c6b4c9cf0193f2aa5806bc58d92d
